<div class="HelpDiv">
	<div class="HelpDivHead">
		<div class="HelpTitle">后端方法</div>
	</div>

	<div class="HelpBody">
		<div>
			<div class="HelpBodyMiddle">依赖“\Base\server\controllers\Function”模块</div>
			<br>
			<div class="HelpBodyMiddle">errorLog(title, msg, strUser)，记录错误日志</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">title</div>
				<div>标题</div>
			</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">msg</div>
				<div>错误消息</div>
			</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">strUser</div>
				<div>由谁引发</div>
			</div>
			<div class="HelpBodyMiddle">accessLog(title, msg, strUser)，记录访问日志</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">title</div>
				<div>标题</div>
			</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">msg</div>
				<div>错误消息</div>
			</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">strUser</div>
				<div>由谁引发</div>
			</div>
			<div class="HelpBodyMiddle">downloadFile(serverPath, downloadFile, fileName, deleteFileName, socketId, callback)，从别的服务器下载文件</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">serverPath</div>
				<div>文件服务器下载地址，包括IP、端口、Api</div>
			</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty" style="width:140px;">downloadFile</div>
				<div>文件服务器文件全名</div>
			</div>
			<div class="HelpBodySmall">
				<div>fileName</div>
				<div>本地保存文件名，可空，为空时以源文件名称命名</div>
			</div>
			<div class="HelpBodySmall">
				<div>deleteFileName</div>
				<div>本地要删除的文件名，可为空</div>
			</div>
			<div class="HelpBodySmall">
				<div>socketId</div>
				<div>如果需要向前端发送下载过程信息，传入该值，通过Socket发送通知</div>
			</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">callback</div>
				<div>callback(err, data)，执行完成后的异步回调方法，err：若有值，表示操作出错，data：操作正确后的返回结果</div>
			</div>
			<div class="HelpBodyMiddle">fileRename(oldPath, newPath, callback)，异步文件重命名</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">oldPath</div>
				<div>旧文件路径+文件全名</div>
			</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">newPath</div>
				<div>新文件路径+文件全名</div>
			</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">callback</div>
				<div>执行完成后的回调方法</div>
			</div>
			<div class="HelpBodyMiddle">fileRenameSync(oldPath, newPath)，同步文件重命名</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">oldPath</div>
				<div>旧文件路径+文件全名</div>
			</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">newPath</div>
				<div>新文件路径+文件全名</div>
			</div>
			<div class="HelpBodyMiddle">fileDelete(path, callback)，异步删除文件</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">path</div>
				<div>文件路径+文件全名</div>
			</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">callback</div>
				<div>执行完成后的回调方法</div>
			</div>
			<div class="HelpBodyMiddle">fileDeleteSync(path)，同步删除文件</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">path</div>
				<div>文件路径+文件全名</div>
			</div>
			<div class="HelpBodyMiddle">getSysParameterValue(code, callback)，获取系统参数值</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">code</div>
				<div>参数编码</div>
			</div>
			<div class="HelpBodySmall">
				<div class="HelpNotEmpty">callback</div>
				<div>执行完成后的回调方法</div>
			</div>
		</div>
	</div>
</div>